﻿using B.S.DataBase.MyProject.Domain.Management;
using B.S.DataBase.MyProject.ErrorCode;
using MediatR;
using System.ComponentModel.DataAnnotations;

namespace MedicalPCTerminal.Read.API.Appcation.Commands.Management
{
    public class GetBasicFollowCommand : IRequest<APIResult<ApiPaging<Basic>>>
    {

        // 姓名
        [StringLength(50)]
        public string? Name { get; set; }
        // 随访方案
        [StringLength(200)]
        public string? FollowUpPlan { get; set; }
        // 计划随访时间
        public DateTime? ScheduledFollowUpTime { get; set; }

        public int PageIndex { get; set; } = 1;
        public int PageSize { get; set; } = 15;
    }
}
